<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
	<div class="table-responsive">
		<table class="table table-bordered table-hover">
			<thead>
				<tr>
					<td style="width: 1px;" class="text-center">
						<!--
                    <input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);">
                -->
					</td>
					<td class="text-right">
						<a href="javascript::">ID</a>
					</td>
					<td class="text-left">
						<a href="javascript::">路线名称</a>
					</td>
					<td class="text-left">
						<a href="javascript::">价格</a>
					</td>
					<td class="text-left">
						<a href="javascript::">主题</a>
					</td>
					<td class="text-left">
						<a href="javascript::">目的地</a>
					</td>
					<td class="text-left">
						<a href="javascript::">状态</a>
					</td>

					<td class="text-right">操作</td>
				</tr>
			</thead>
			<tbody>
				<volist name="goodsList" id="list">
					<tr>
						<td class="text-center">
							<!-- <input type="checkbox" name="selected[]" value="6">-->
							<input type="hidden" name="shipping_code[]" value="flat.flat">
						</td>
						<td class="text-right">{$list.id}</td>
						<td class="text-left">{$list.name}</td>
						<td class="text-left">{$list.price}</td>
						<td class="text-left">{$list.topic}</td>
						<td class="text-left">{$list.desc}</td>
						<td class="text-left">
							<if condition="$list.status eq 1">已发布
								<else/>未发布</if>
							</td>
					
		
						<td class="text-right">
							<a target="_blank" href="{:U('Home/Product/details',array('id'=>$list['id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="查看详情"><i class="fa fa-eye"></i></a>
							<a href="{:U('Admin/Goods/addEditGoods',array('id'=>$list['id']))}" data-toggle="tooltip" title="" class="btn btn-primary" data-original-title="编辑"><i class="fa fa-pencil"></i></a>
							<a href="javascript:void(0);" onclick="del('{$list[id]}')" id="button-delete6" data-toggle="tooltip" title="" class="btn btn-danger" data-original-title="删除"><i class="fa fa-trash-o"></i></a>
						</td>
					</tr>
				</volist>
			</tbody>
		</table>
	</div>
</form>
<div class="row">
	<div class="col-sm-3 text-left"></div>
	<div class="col-sm-9 text-right">{$page}</div>
</div>
<script>
	// 点击分页触发的事件
	$(".pagination  a").click(function() {
		cur_page = $(this).data('p');
		ajax_get_table('search-form2', cur_page);
	});
</script>